Fix double-click to autosize treeview columns. This was probably broken
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Apr 2005 12:53:09 +0000 (12:53 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 8 Apr 2005 12:53:09 +0000 (12:53 +0000)
commit3962c1166f54cb2c9f83de43cb75f82963ee70ef
tree5eec50de8c704d21ac60678cbc98d9e653baa256
parentcdf0814612aa775826222c843dac85984e5c1d58
Fix double-click to autosize treeview columns. This was probably broken

2005-04-08  Matthias Clasen  <mclasen@redhat.com>

Fix double-click to autosize treeview columns. This was
probably broken since 2.2 ! (#169675)

* gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the
"user-resized" state of the column on a double-click to
autosize.
(gtk_tree_view_button_press, gtk_tree_view_motion_resize_column):
Enter the "user-resized" state of the column only if a drag
actually changes the column width, not on any click.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtktreeview.c